hi,
i have simply code:
PostgreSQL:
> CREATE TABLE comments
> (
> id serial NOT NULL,
> owner integer,
> type character(1),
> created timestamp without time zone,
> message text,
> CONSTRAINT comments_pkey PRIMARY KEY (id)
> )model is autogenerated and Controller:
> 
> $comment= new Comments();
> $comment->message=$msg;
> $comment->owner=$uid;
> $comment->type=$type;
> $comment->created=date('Y-m-d h:i:s.u');
> 
> if ($comment->save() == false) {
> 
>     foreach ($comment->getMessages() as $value) {
>         echo $value.'; \n';
>     }
> }return this:
id is required
someone know why? other saves to tables work fine...
using Phalcon DevTools (1.3.4)